package cn.xiaohuodui.form.user;

import cn.xiaohuodui.form.BussForm;

import javax.validation.constraints.Size;

/**
 * Author :keepcleargas
 * Date   :2016-12-16 13:10.
 */
public class PhoneForm implements BussForm {
    @Size(min = 11, max = 11)
    private String phone;
    private String code;
    private int smsType; //0 注册 1 修改密码

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public int getSmsType() {
        return smsType;
    }

    public void setSmsType(int smsType) {
        this.smsType = smsType;
    }
}
